﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace hse_2013_test_dima_sasha
{
    public partial class Form3 : Form
    {
        public Form3(Form1 sender)
        {
            InitializeComponent();
            f1 = sender;
        }

        private Form1 f1;
        private void button9_Click(object sender, EventArgs e)
        {
            Data.SubjectID = 1;
            Form f5 = new Form5();
            f5.ShowDialog();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Form f4 = new Form4();
            f4.ShowDialog();
        }

        private void button8_Click(object sender, EventArgs e)
        {
            Data.SubjectID = 2;
            Form f5 = new Form5();
            f5.ShowDialog();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Data.SubjectID = 1;
            Form f6 = new Form6();
            f6.ShowDialog();
        }

        private void button3_Click(object sender, EventArgs e)
        {
            Data.SubjectID = 2;
            Form f6 = new Form6();
            f6.ShowDialog();
        }

        private void Form3_FormClosing(object sender, FormClosingEventArgs e)
        {
            f1.Show();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            File.Delete(".../.../results-engl.txt");
            File.Delete(".../.../results-econ.txt");
        }

        

        

        
    }
}
